﻿@model smp.ButterflyCakes.Models.ViewModels.Schedule.ScheduleCalendar

@Html.HiddenFor(x => x.MonthText)
@Html.HiddenFor(x => x.YearText)
<div class="container-fluid">
    <table class="table-bordered table-condensed table-hover" width="100%">
        <tr>
            <th class="calendarColumn">
                Monday
            </th>
            <th class="calendarColumn">
                Tuesday
            </th>
            <th class="calendarColumn">
                Wednesday
            </th>
            <th class="calendarColumn">
                Thursday
            </th>
            <th class="calendarColumn">
                Friday
            </th>
            <th class="calendarColumn">
                Saturday
            </th>
            <th class="calendarColumn">
                Sunday
            </th>
        </tr>
        @foreach (var week in Model.Weeks)
        {
            <tr class="calendarrow">
                @Html.Partial("MonthWeek", week)
            </tr>
        }
    </table>
</div>

